using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Responses.Objects;
namespace JoyfulHomeJourney.BackEnd.Server.Instances.Extends.Responses
{
	public static class DeductionsExtend
{
		public static ResponseDeductionsDto ToResponseDto(this Deductions entity)
{			return new ResponseDeductionsDto
			{
				id = entity.DId,
				deductionCount = entity.DDeductionCount,
				createTime = entity.DCreateTime,
			};
		}
	}
}
